package top.itmeans.yes.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 后台用户登录日志表
 * </p>
 *
 * @author Yiming.Cao
 * @since 2022-05-05
 */
@Getter
@Setter
@TableName("t_admin_login_log")
@ApiModel(value = "AdminLoginLog对象", description = "后台用户登录日志表")
public class AdminLoginLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("记录ID")
    private Long id;

    @ApiModelProperty("管理员用户ID")
    private Long adminId;

    @ApiModelProperty("记录的创建时间/用户最近一次登录时间")
    private LocalDateTime createTime;

    @ApiModelProperty("IP")
    private String ip;

    @ApiModelProperty("IP所在地")
    private String address;

    @ApiModelProperty("浏览器登录类型")
    private String userAgent;


}
